package com.oop.demo06;

public class Person /* extends Object */{

    public Person() {
        System.out.println("Person 无参执行了");
    }

    protected String name = "wesley";

    //私有的东西无法继承
//    private void print(){
    public void print(){
        System.out.println("Person");
    }

}
